﻿using System;

namespace Sencha.Serialization.Bson
{
	public interface IBsonWriter : IJsonWriter
	{
		void Write<T>(BsonToken token, T value);
		void WriteBson(byte[] bsonData, int index, int count);

		long BytesWritten { get; }
	}
}
